package org.example.order.api;

import org.example.core.utils.R;
import org.example.order.api.domain.LockedStock;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author 小杰_cc
 * @version 1.0
 */
@FeignClient("warehouse-service")
public interface WareHouseService {

    // 锁定库存操作
    @PostMapping("/wms/front/sku/stock")
    R<?> lockedStock(@RequestBody LockedStock lockedStock);
}
